home *** CD-ROM | disk | FTP | other *** search
-
-
-
- XXXXmmmmLLLLaaaabbbbeeeellll((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmLLLLaaaabbbbeeeellll((((3333XXXX))))
-
-
-
- NNNNAAAAMMMMEEEE
- _X_m_L_a_b_e_l - The Label widget class
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- #include <Xm/Label.h>
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- Label is an instantiable widget and is also used as a
- superclass for other button widgets, such as PushButton and
- ToggleButton. The Label widget does not accept any button
- or key input, and the help callback is the only callback
- defined. Label also receives enter and leave events.
-
- Label can contain either text or a pixmap. Label text is a
- compound string. Refer to the OOOOSSSSFFFF////MMMMoooottttiiiiffff PPPPrrrrooooggggrrrraaaammmmmmmmeeeerrrr''''ssss GGGGuuuuiiiiddddeeee
- for more information on compound strings. The text can be
- multilingual, multiline, and/or multifont. When a Label is
- insensitive, its text is stippled, or the user-supplied
- insensitive pixmap is displayed.
-
- Label supports both accelerators and mnemonics primarily for
- use in Label subclass widgets that are contained in menus.
- Mnemonics are available in a menu system when the button is
- visible. Accelerators in a menu system are accessible even
- when the button is not visible. The Label widget displays
- the mnemonic by underlining the first matching character in
- the text string. The accelerator is displayed as a text
- string adjacent to the label text or pixmap.
-
- Label consists of many margin fields surrounding the text or
- pixmap. These margin fields are resources that may be set
- by the user, but Label subclasses and Manager parents also
- modify some of these fields. They tend to modify the
- _X_m_N_m_a_r_g_i_n_L_e_f_t, _X_m_N_m_a_r_g_i_n_R_i_g_h_t, _X_m_N_m_a_r_g_i_n_T_o_p, and
- _X_m_N_m_a_r_g_i_n_B_o_t_t_o_m resources and leave the _X_m_N_m_a_r_g_i_n_W_i_d_t_h and
- _X_m_N_m_a_r_g_i_n_H_e_i_g_h_t resources as set by the application.
-
- Label takes into account _X_m_N_s_h_a_d_o_w_T_h_i_c_k_n_e_s_s in determining
- its layout but does not draw the shadow. That is, if
- _X_m_N_s_h_a_d_o_w_T_h_i_c_k_n_e_s_s is greater than 0, Label leaves space for
- the shadow, but the shadow does not appear.
-
- In a Label _X_m_N_t_r_a_v_e_r_s_a_l_O_n and _X_m_N_h_i_g_h_l_i_g_h_t_O_n_E_n_t_e_r are forced
- to False inside Popup MenuPanes, Pulldown MenuPanes, and
- OptionMenus. Otherwise these resources default to False.
-
- CCCCllllaaaasssssssseeeessss
- Label inherits behavior and resources from _C_o_r_e and
- _X_m_P_r_i_m_i_t_i_v_e Classes.
-
- The class pointer is _x_m_L_a_b_e_l_W_i_d_g_e_t_C_l_a_s_s.
-
-
-
-
- Page 1 (printed 11/11/03)
-
-
-
-
-
-
- XXXXmmmmLLLLaaaabbbbeeeellll((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmLLLLaaaabbbbeeeellll((((3333XXXX))))
-
-
-
- The class name is _X_m_L_a_b_e_l.
-
- NNNNeeeewwww RRRReeeessssoooouuuurrrrcccceeeessss
- The following table defines a set of widget resources used
- by the programmer to specify data. The programmer can also
- set the resource values for the inherited classes to set
- attributes for this widget. To reference a resource by name
- or by class in a .Xdefaults file, remove the _X_m_N or _X_m_C
- prefix and use the remaining letters. To specify one of the
- defined values for a resource in a .Xdefaults file, remove
- the _X_m prefix and use the remaining letters (in either
- lowercase or uppercase, but include any underscores between
- words). The codes in the access column indicate if the
- given resource can be set at creation time (C), set by using
- _X_t_S_e_t_V_a_l_u_e_s (S), retrieved by using _X_t_G_e_t_V_a_l_u_e_s (G), or is
- not applicable (N/A).
-
- XXXXmmmmLLLLaaaabbbbeeeellll RRRReeeessssoooouuuurrrrcccceeee SSSSeeeetttt
- NNNNaaaammmmeeee CCCCllllaaaassssssss TTTTyyyyppppeeee DDDDeeeeffffaaaauuuulllltttt AAAAcccccccceeeessssssss
- ___________________________________________________________________________________________________________
- XmNaccelerator XmCAccelerator String NULL CSG
- XmNacceleratorText XmCAcceleratorText XmString NULL CSG
- XmNalignment XmCAlignment unsigned char dynamic CSG
- XmNfontList XmCFontList XmFontList dynamic CSG
- XmNlabelInsensitivePixmap XmCLabelInsensitivePixmap Pixmap XmUNSPECIFIED_PIXMAP CSG
- XmNlabelPixmap XmCLabelPixmap Pixmap XmUNSPECIFIED_PIXMAP CSG
- XmNlabelString XmCXmString XmString dynamic CSG
- XmNlabelType XmCLabelType unsigned char XmSTRING CSG
- XmNmarginBottom XmCMarginBottom Dimension 0 CSG
- XmNmarginHeight XmCMarginHeight Dimension 2 CSG
- XmNmarginLeft XmCMarginLeft Dimension 0 CSG
- XmNmarginRight XmCMarginRight Dimension 0 CSG
- XmNmarginTop XmCMarginTop Dimension 0 CSG
- XmNmarginWidth XmCMarginWidth Dimension 2 CSG
- XmNmnemonic XmCMnemonic KeySym NULL CSG
- XmNmnemonicCharSet XmCMnemonicCharSet String XmFONTLIST_DEFAULT_TAG CSG
- XmNrecomputeSize XmCRecomputeSize Boolean True CSG
- XmNstringDirection XmCStringDirection XmStringDirection dynamic CSG
-
-
- _X_m_N_a_c_c_e_l_e_r_a_t_o_r
- Sets the accelerator on a button widget in a menu,
- which activates a visible or invisible, but managed,
- button from the keyboard. This resource is a string
- that describes a set of modifiers and the key that may
- be used to select the button. The format of this
- string is identical to that used by the translations
- manager, with the exception that only a single event
- may be specified and only _K_e_y_P_r_e_s_s events are allowed.
-
- Accelerators for buttons are supported only for PushButtons
- and ToggleButtons in Pulldown and Popup MenuPanes.
-
-
-
- Page 2 (printed 11/11/03)
-
-
-
-
-
-
- XXXXmmmmLLLLaaaabbbbeeeellll((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmLLLLaaaabbbbeeeellll((((3333XXXX))))
-
-
-
- _X_m_N_a_c_c_e_l_e_r_a_t_o_r_T_e_x_t
- Specifies the text displayed for the accelerator. The
- text is displayed adjacent to the label string or
- pixmap. Accelerator text for buttons is displayed only
- for PushButtons and ToggleButtons in Pulldown and Popup
- Menus.
-
- _X_m_N_a_l_i_g_n_m_e_n_t
- Specifies the label alignment for text or pixmap.
-
- +o _X_m_A_L_I_G_N_M_E_N_T__B_E_G_I_N_N_I_N_G (left alignment) - causes the
- left sides of the lines of text to be vertically
- aligned with the left edge of the widget window. For a
- pixmap, its left side is vertically aligned with the
- left edge of the widget window.
-
- +o _X_m_A_L_I_G_N_M_E_N_T__C_E_N_T_E_R (center alignment) - causes the
- centers of the lines of text to be vertically aligned
- in the center of the widget window. For a pixmap, its
- center is vertically aligned with the center of the
- widget window.
-
- +o _X_m_A_L_I_G_N_M_E_N_T__E_N_D (right alignment) - causes the right
- sides of the lines of text to be vertically aligned
- with the right edge of the widget window. For a
- pixmap, its right side is vertically aligned with the
- right edge of the widget window.
-
- The above descriptions for text are correct when
- _X_m_N_s_t_r_i_n_g_D_i_r_e_c_t_i_o_n is _X_m_S_T_R_I_N_G__D_I_R_E_C_T_I_O_N__L__T_O__R. When that
- resource is _X_m_S_T_R_I_N_G__D_I_R_E_C_T_I_O_N__R__T_O__L, the descriptions for
- _X_m_A_L_I_G_N_M_E_N_T__B_E_G_I_N_N_I_N_G and _X_m_A_L_I_G_N_M_E_N_T__E_N_D are switched.
-
- If the parent is a RowColumn whose _X_m_N_i_s_A_l_i_g_n_e_d resource is
- True, _X_m_N_a_l_i_g_n_m_e_n_t is forced to the same value as the
- RowColumn's _X_m_N_e_n_t_r_y_A_l_i_g_n_m_e_n_t if the RowColumn's
- _X_m_N_r_o_w_C_o_l_u_m_n_T_y_p_e is _X_m_W_O_R_K__A_R_E_A or if the widget is a
- subclass of XmLabel. Otherwise, the default is
- _X_m_A_L_I_G_N_M_E_N_T__C_E_N_T_E_R.
-
- _X_m_N_f_o_n_t_L_i_s_t
- Specifies the font of the text used in the widget. If
- this value is NULL at initialization, the font list is
- initialized by looking up the parent hierarchy of the
- widget for an ancestor that is a subclass of the
- XmBulletinBoard, VendorShell, or XmMenuShell widget
- class. If such an ancestor is found, the font list is
- initialized to the _X_m_N_b_u_t_t_o_n_F_o_n_t_L_i_s_t (for button
- subclasses) or _X_m_N_l_a_b_e_l_F_o_n_t_L_i_s_t of the ancestor widget.
- If no such ancestor is found, the default is
- implementation dependent. Refer to _X_m_F_o_n_t_L_i_s_t(_3_X) for
- more information on the creation and structure of a
-
-
-
- Page 3 (printed 11/11/03)
-
-
-
-
-
-
- XXXXmmmmLLLLaaaabbbbeeeellll((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmLLLLaaaabbbbeeeellll((((3333XXXX))))
-
-
-
- font list.
-
- _X_m_N_l_a_b_e_l_I_n_s_e_n_s_i_t_i_v_e_P_i_x_m_a_p
- Specifies a pixmap used as the button face if
- _X_m_N_l_a_b_e_l_T_y_p_e is _X_m_P_I_X_M_A_P and the button is insensitive.
- The default value, _X_m_U_N_S_P_E_C_I_F_I_E_D__P_I_X_M_A_P, displays an
- empty label.
-
- _X_m_N_l_a_b_e_l_P_i_x_m_a_p
- Specifies the pixmap when _X_m_N_l_a_b_e_l_T_y_p_e is _X_m_P_I_X_M_A_P.
- The default value, _X_m_U_N_S_P_E_C_I_F_I_E_D__P_I_X_M_A_P, displays an
- empty label.
-
- _X_m_N_l_a_b_e_l_S_t_r_i_n_g
- Specifies the compound string when the _X_m_N_l_a_b_e_l_T_y_p_e is
- _X_m_S_T_R_I_N_G. If this value is NULL, it is initialized by
- converting the name of the widget to a compound string.
- Refer to _X_m_S_t_r_i_n_g(_3_X) for more information on the
- creation and structure of compound strings.
-
- _X_m_N_l_a_b_e_l_T_y_p_e
- Specifies the label type.
-
- +o _X_m_S_T_R_I_N_G - displays text using _X_m_N_l_a_b_e_l_S_t_r_i_n_g.
-
- +o _X_m_P_I_X_M_A_P - displays pixmap using _X_m_N_l_a_b_e_l_P_i_x_m_a_p or
- _X_m_N_l_a_b_e_l_I_n_s_e_n_s_i_t_i_v_e_P_i_x_m_a_p.
-
- _X_m_N_m_a_r_g_i_n_B_o_t_t_o_m
- Specifies the amount of spacing between the bottom of
- the label text and the top of the bottom margin
- specified by _X_m_N_m_a_r_g_i_n_H_e_i_g_h_t. This may be modified by
- Label's subclasses. For example, CascadeButton may
- increase this field to make room for the cascade
- pixmap.
-
- _X_m_N_m_a_r_g_i_n_H_e_i_g_h_t
- Specifies an equal amount of spacing above the margin
- defined by _X_m_N_m_a_r_g_i_n_T_o_p and below the margin defined by
- _X_m_N_m_a_r_g_i_n_B_o_t_t_o_m. _X_m_N_m_a_r_g_i_n_H_e_i_g_h_t specifies the amount
- of spacing between the top edge of the margin set by
- _X_m_N_m_a_r_g_i_n_T_o_p and the bottom edge of the top shadow, and
- the amount of spacing between the bottom edge of the
- margin specified by _X_m_N_m_a_r_g_i_n_B_o_t_t_o_m and the top edge of
- the bottom shadow.
-
- _X_m_N_m_a_r_g_i_n_L_e_f_t
- Specifies the amount of spacing between the left edge
- of the label text and the right side of the left margin
- (specified by _X_m_N_m_a_r_g_i_n_W_i_d_t_h). This may be modified by
- Label's subclasses. For example, ToggleButton may
- increase this field to make room for the toggle
-
-
-
- Page 4 (printed 11/11/03)
-
-
-
-
-
-
- XXXXmmmmLLLLaaaabbbbeeeellll((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmLLLLaaaabbbbeeeellll((((3333XXXX))))
-
-
-
- indicator and for spacing between the indicator and
- label. Whether this actually applies to the left or
- right side of the label may depend on the value of
- _X_m_N_s_t_r_i_n_g_D_i_r_e_c_t_i_o_n.
-
- _X_m_N_m_a_r_g_i_n_R_i_g_h_t
- Specifies the amount of spacing between the right edge
- of the label text and the left side of the right margin
- (specified by _X_m_N_m_a_r_g_i_n_W_i_d_t_h). This may be modified by
- Label's subclasses. For example, CascadeButton may
- increase this field to make room for the cascade
- pixmap. Whether this actually applies to the left or
- right side of the label may depend on the value of
- _X_m_N_s_t_r_i_n_g_D_i_r_e_c_t_i_o_n.
-
- _X_m_N_m_a_r_g_i_n_T_o_p
- Specifies the amount of spacing between the top of the
- label text and the bottom of the top margin specified
- by _X_m_N_m_a_r_g_i_n_H_e_i_g_h_t. This may be modified by Label's
- subclasses. For example, CascadeButton may increase
- this field to make room for the cascade pixmap.
-
- _X_m_N_m_a_r_g_i_n_W_i_d_t_h
- Specifies an equal amount of spacing to the left of the
- margin defined by _X_m_N_m_a_r_g_i_n_L_e_f_t and to the right of the
- margin defined by _X_m_N_m_a_r_g_i_n_R_i_g_h_t. _X_m_N_m_a_r_g_i_n_W_i_d_t_h
- specifies the amount of spacing between the left edge
- of the margin set by _X_m_N_m_a_r_g_i_n_L_e_f_t and the right edge
- of the left shadow, and the amount of spacing between
- the right edge of the margin specified by
- _X_m_N_m_a_r_g_i_n_R_i_g_h_t and the left edge of the right shadow.
-
- _X_m_N_m_n_e_m_o_n_i_c
- Provides the user with an alternate means of activating
- a button. A button in a MenuBar, a Popup MenuPane, or
- a Pulldown MenuPane can have a mnemonic.
-
- This resource contains a keysym as listed in the X11 keysym
- table. The first character in the label string that exactly
- matches the mnemonic in the character set specified in
- _X_m_N_m_n_e_m_o_n_i_c_C_h_a_r_S_e_t is underlined when the button is
- displayed.
-
- When a mnemonic has been specified, the user activates the
- button by pressing the mnemonic key while the button is
- visible. If the button is a CascadeButton in a MenuBar and
- the MenuBar does not have the focus, the user must use the
- _M_A_l_t modifier while pressing the mnemonic. The user can
- activate the button by pressing either the shifted or the
- unshifted mnemonic key.
-
- _X_m_N_m_n_e_m_o_n_i_c_C_h_a_r_S_e_t
-
-
-
- Page 5 (printed 11/11/03)
-
-
-
-
-
-
- XXXXmmmmLLLLaaaabbbbeeeellll((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmLLLLaaaabbbbeeeellll((((3333XXXX))))
-
-
-
- Specifies the character set of the mnemonic for the
- label. The default is _X_m_F_O_N_T_L_I_S_T__D_E_F_A_U_L_T__T_A_G.
-
- _X_m_N_r_e_c_o_m_p_u_t_e_S_i_z_e
- Specifies a Boolean value that indicates whether the
- widget shrinks or expands to accommodate its contents
- (label string or pixmap) as a result of an _X_t_S_e_t_V_a_l_u_e_s
- resource value that would change the size of the
- widget. If True, the widget shrinks or expands to
- exactly fit the label string or pixmap. If False, the
- widget never attempts to change size on its own.
-
- _X_m_N_s_t_r_i_n_g_D_i_r_e_c_t_i_o_n
- Specifies the direction in which the string is to be
- drawn. The following are the values:
-
- +o _X_m_S_T_R_I_N_G__D_I_R_E_C_T_I_O_N__L__T_O__R - left to right
-
- +o _X_m_S_T_R_I_N_G__D_I_R_E_C_T_I_O_N__R__T_O__L - right to left
-
- The default for this resource is determined at creation
- time. If no value is specified for this resource and the
- widget's parent is a manager, the value is inherited from
- the parent; otherwise, it defaults to
- _X_m_S_T_R_I_N_G__D_I_R_E_C_T_I_O_N__L__T_O__R.
-
- IIIInnnnhhhheeeerrrriiiitttteeeedddd RRRReeeessssoooouuuurrrrcccceeeessss
- Label inherits behavior and resources from the following
- superclasses. For a complete description of each resource,
- refer to the man page for that superclass.
-
- XXXXmmmmPPPPrrrriiiimmmmiiiittttiiiivvvveeee RRRReeeessssoooouuuurrrrcccceeee SSSSeeeetttt
- NNNNaaaammmmeeee CCCCllllaaaassssssss TTTTyyyyppppeeee DDDDeeeeffffaaaauuuulllltttt AAAAcccccccceeeessssssss
- ________________________________________________________________________________________________
- XmNbottomShadowColor XmCBottomShadowColor Pixel dynamic CSG
- XmNbottomShadowPixmap XmCBottomShadowPixmap Pixmap XmUNSPECIFIED_PIXMAP CSG
- XmNforeground XmCForeground Pixel dynamic CSG
- XmNhelpCallback XmCCallback XtCallbackList NULL C
- XmNhighlightColor XmCHighlightColor Pixel dynamic CSG
- XmNhighlightOnEnter XmCHighlightOnEnter Boolean False CSG
- XmNhighlightPixmap XmCHighlightPixmap Pixmap dynamic CSG
- XmNhighlightThickness XmCHighlightThickness Dimension 0 CSG
- XmNnavigationType XmCNavigationType XmNavigationType XmNONE CSG
- XmNshadowThickness XmCShadowThickness Dimension 0 CSG
- XmNtopShadowColor XmCTopShadowColor Pixel dynamic CSG
- XmNtopShadowPixmap XmCTopShadowPixmap Pixmap dynamic CSG
- XmNtraversalOn XmCTraversalOn Boolean False CSG
- XmNunitType XmCUnitType unsigned char dynamic CSG
- XmNuserData XmCUserData XtPointer NULL CSG
-
-
- CCCCoooorrrreeee RRRReeeessssoooouuuurrrrcccceeee SSSSeeeetttt
-
-
-
- Page 6 (printed 11/11/03)
-
-
-
-
-
-
- XXXXmmmmLLLLaaaabbbbeeeellll((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmLLLLaaaabbbbeeeellll((((3333XXXX))))
-
-
-
- NNNNaaaammmmeeee CCCCllllaaaassssssss TTTTyyyyppppeeee DDDDeeeeffffaaaauuuulllltttt AAAAcccccccceeeessssssss
- ______________________________________________________________________________________________________________
- XmNaccelerators XmCAccelerators XtAccelerators dynamic CSG
- XmNancestorSensitive XmCSensitive Boolean dynamic G
- XmNbackground XmCBackground Pixel dynamic CSG
- XmNbackgroundPixmap XmCPixmap Pixmap XmUNSPECIFIED_PIXMAP CSG
- XmNborderColor XmCBorderColor Pixel XtDefaultForeground CSG
- XmNborderPixmap XmCPixmap Pixmap XmUNSPECIFIED_PIXMAP CSG
- XmNborderWidth XmCBorderWidth Dimension 0 CSG
- XmNcolormap XmCColormap Colormap dynamic CG
- XmNdepth XmCDepth int dynamic CG
- XmNdestroyCallback XmCCallback XtCallbackList NULL C
- XmNheight XmCHeight Dimension dynamic CSG
- XmNinitialResourcesPersistent XmCInitialResourcesPersistent Boolean True C
- XmNmappedWhenManaged XmCMappedWhenManaged Boolean True CSG
- XmNscreen XmCScreen Screen * dynamic CG
- XmNsensitive XmCSensitive Boolean True CSG
- XmNtranslations XmCTranslations XtTranslations dynamic CSG
- XmNwidth XmCWidth Dimension dynamic CSG
- XmNx XmCPosition Position 0 CSG
- XmNy XmCPosition Position 0 CSG
-
-
- TTTTrrrraaaannnnssssllllaaaattttiiiioooonnnnssss
- XmLabel includes translations from Primitive. The XmLabel
- translations are listed below. These translations may not
- directly correspond to a translation table.
- BDrag Press: ProcessDrag()
-
- KHelp: Help()
- The translations used by subclasses of XmLabel for menu
- traversal are listed below. These translations may not
- directly correspond to a translation table.
- KLeft: MenuTraverseLeft()
- KRight: MenuTraverseRight()
- KUp: MenuTraverseUp()
- KDown: MenuTraverseDown()
- MAny KCancel: MenuEscape()
-
- AAAAccccttttiiiioooonnnn RRRRoooouuuuttttiiiinnnneeeessss
- The XmLabel action routines are described below:
-
- _H_e_l_p():
- In a Popup or Pulldown MenuPane, unposts all menus in
- the menu hierarchy and, when the shell's keyboard focus
- policy is _X_m_E_X_P_L_I_C_I_T, restores keyboard focus to the
- widget that had the focus before the menu system was
- entered. Calls the callbacks for _X_m_N_h_e_l_p_C_a_l_l_b_a_c_k if
- any exist. If there are no help callbacks for this
- widget, this action calls the help callbacks for the
- nearest ancestor that has them.
-
-
-
-
- Page 7 (printed 11/11/03)
-
-
-
-
-
-
- XXXXmmmmLLLLaaaabbbbeeeellll((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmLLLLaaaabbbbeeeellll((((3333XXXX))))
-
-
-
- _M_e_n_u_E_s_c_a_p_e():
- In a MenuBar, disarms the CascadeButton and the menu
- and, when the shell's keyboard focus policy is
- _X_m_E_X_P_L_I_C_I_T, restores keyboard focus to the widget that
- had the focus before the menu was entered.
-
- In a toplevel Pulldown MenuPane from a MenuBar, unposts
- the menu, disarms the MenuBar CascadeButton and the
- MenuBar, and, when the shell's keyboard focus policy is
- _X_m_E_X_P_L_I_C_I_T, restores keyboard focus to the widget that
- had the focus before the MenuBar was entered. In other
- Pulldown MenuPanes, unposts the menu and moves the
- focus to its CascadeButton.
-
- In a Popup MenuPane, unposts the menu and, when the
- shell's keyboard focus policy is _X_m_E_X_P_L_I_C_I_T, restores
- keyboard focus to the widget from which the menu was
- posted.
-
- _M_e_n_u_T_r_a_v_e_r_s_e_D_o_w_n():
- If the current menu item has a submenu and is in a
- MenuBar, then this action posts the submenu, disarms
- the current menu item, and arms the submenu's first
- traversable menu item.
-
- If the current menu item is in a MenuPane, then this
- action disarms the current menu item and arms the item
- below it. This action wraps within the MenuPane. When
- the current menu item is at the MenuPane's bottom edge,
- then this action wraps to the topmost menu item in the
- column to the right, if one exists. When the current
- menu item is at the bottom, rightmost corner of the
- MenuPane, then this action wraps to the tear-off
- control, if present, or to the top, leftmost menu item.
-
- _M_e_n_u_T_r_a_v_e_r_s_e_L_e_f_t():
- When the current menu item is in a MenuBar, then this
- action disarms the current item and arms the MenuBar
- item to the left. This action wraps within the
- MenuBar.
-
- In MenuPanes, if the current menu item is not at the
- left edge of a MenuPane, this action disarms the
- current item and arms the item to its left. If the
- current menu item is at the left edge of a submenu
- attached to a MenuBar item, then this action unposts
- the submenu and traverses to the MenuBar item to the
- left, wrapping if necessary. If that MenuBar item has
- a submenu, it posts the submenu and arms the first
- traversable item in the submenu. If the current menu
- item is at the left edge of a submenu not directly
- attached to a MenuBar item, then this action unposts
-
-
-
- Page 8 (printed 11/11/03)
-
-
-
-
-
-
- XXXXmmmmLLLLaaaabbbbeeeellll((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmLLLLaaaabbbbeeeellll((((3333XXXX))))
-
-
-
- the current submenu only.
-
- In Popup or Torn-off MenuPanes, when the current menu
- item is at the left edge, this action wraps within the
- MenuPane. If the current menu item is at the left edge
- of the MenuPane and not in the top row, this action
- wraps to the rightmost menu item in the row above. If
- the current menu item is in the upper, leftmost corner,
- this action wraps to the tear-off control, if present,
- or else it wraps to the bottom, rightmost menu item in
- the MenuPane.
-
- _M_e_n_u_T_r_a_v_e_r_s_e_R_i_g_h_t():
- If the current menu item is in a MenuBar, then this
- action disarms the current item and arms the MenuBar
- item to the right. This action wraps within the
- MenuBar.
-
- In MenuPanes, if the current menu item is a
- CascadeButton, then this action posts its associated
- submenu. If the current menu item is not a
- CascadeButton and is not at the right edge of a
- MenuPane, this action disarms the current item and arms
- the item to its right, wrapping if necessary. If the
- current menu item is not a CascadeButton and is at the
- right edge of a submenu that is a descendent of a
- MenuBar, then this action unposts all submenus and
- traverses to the MenuBar item to the right. If that
- MenuBar item has a submenu, it posts the submenu and
- arms the submenu's first traversable item.
-
- In Popup or Torn-off menus, if the current menu item is
- not a CascadeButton and is at the right edge of a row
- (except the bottom row), this action wraps to the
- leftmost menu item in the row below. If the current
- menu item is not a CascadeButton and is in the bottom,
- rightmost corner of a Popup or Pulldown MenuPane, this
- action wraps to the tear-off control, if present, or
- else it wraps to the top, leftmost menu item of the
- MenuPane.
-
- _M_e_n_u_T_r_a_v_e_r_s_e_U_p():
- When the current menu item is in a MenuPane, then this
- action disarms the current menu item and arms the item
- above it. This action wraps within the MenuPane. When
- the current menu item is at the MenuPane's top edge,
- then this action wraps to the bottommost menu item in
- the column to the left, if one exists. When the
- current menu item is at the top, leftmost corner of the
- MenuPane, then this action wraps to the tear-off
- control, if present, or to the bottom, rightmost menu
- item.
-
-
-
- Page 9 (printed 11/11/03)
-
-
-
-
-
-
- XXXXmmmmLLLLaaaabbbbeeeellll((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmLLLLaaaabbbbeeeellll((((3333XXXX))))
-
-
-
- _P_r_o_c_e_s_s_D_r_a_g():
- Drags the contents of a Label, identified by pressing
- _B_D_r_a_g. This action creates a DragContext object whose
- _X_m_N_e_x_p_o_r_t_T_a_r_g_e_t_s resource is set to "COMPOUND_TEXT" for
- a label type of _X_m_S_T_R_I_N_G; otherwise, "PIXMAP" if the
- label type is _X_m_P_I_X_M_A_P. This action is undefined for
- Labels used in a menu system.
-
- This action is disabled if the XmDisplay's
- _e_n_a_b_l_e_U_n_s_e_l_e_c_t_a_b_l_e_D_r_a_g resource is True.
-
- VVVViiiirrrrttttuuuuaaaallll BBBBiiiinnnnddddiiiinnnnggggssss
- The bindings for virtual keys are vendor specific. For
- information about bindings for virtual buttons and keys, see
- _V_i_r_t_u_a_l_B_i_n_d_i_n_g_s(_3_X).
-
- RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
- _C_o_r_e(_3_X), _X_m_C_r_e_a_t_e_L_a_b_e_l(_3_X), _X_m_D_i_s_p_l_a_y(_3_X),
- _X_m_F_o_n_t_L_i_s_t_A_p_p_e_n_d_E_n_t_r_y(_3_X), _X_m_S_t_r_i_n_g_C_r_e_a_t_e(_3_X),
- _X_m_S_t_r_i_n_g_C_r_e_a_t_e_L_t_o_R(_3_X), and _X_m_P_r_i_m_i_t_i_v_e(_3_X).
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 10 (printed 11/11/03)
-
-
-
-